package com.eatme.leetcode.lcci;

import java.util.Arrays;
import java.util.Random;

public class Solution17_14V2 {

    public int[] smallestK(int[] arr, int k) {
        Arrays.sort(arr);
        return Arrays.copyOf(arr, k);
    }
}